div {
	position: absolute;
}

div.text_div {
	background-color: #FFAAAA;
	z-index: 0;
}

div.frame_div {
	display: none;
	background-image: url("../gfx/hover.png");
/*	z-index: -999;*/
	position: absolute;
	left: -5px;
	top: -5px;
	right: -5px;
	bottom: -5px;
}

div.move_div, div.delete_div, div.resize_div, div.menu_div {
	position: absolute;
	width: 20px;
	height: 20px;
	z-index: 999;
}

div.move_div {
	left: -5px;
	top: -5px;
	background-image: url("../gfx/move.png");
/*	background-color: #44F;*/
}

div.delete_div {
	right: -5px;
	top: -5px;
	background-image: url("../gfx/close.png");
/*	background-color: #F44;*/
}

div.resize_div {
	right: -5px;
	bottom: -5px;
	background-image: url("../gfx/resize.png");
/*	background-color: #4F4;*/
}

div.menu_div {
	left: -5px;
	bottom: -5px;
/*	background-image: url("../gfx/resize.png");*/
	background-color: #FF4;
}

div#main_frame  {
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	width: 100%;
	height: 100%;
	background-color: #CCC;
	z-index: -999;
}

div#main_menu {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 999;
}

div.menu_element {
	background-color: #AAF;
	border-bottom: 1px solid black;
	border-right: 1px solid black;
}

div#debug {
	position: absolute;
	top: 0px;
	right: 0px;
	background-color: #FAA;
}